package com.hx.musicserver.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hx.musicserver.entity.Music;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MusicMapper extends BaseMapper<Music> {
    @Select("select * from music where id=#{musicId}")
    List<Music> findMusicById(Integer musicId);
}
